#region <!--##session ASPXChangePasswordWholeClass##-->
		/*<!--##
		##-->*/
<%@ Page Language="C#" MasterPageFile="~/DefaultMasterPage.master" AutoEventWireup="true"
			ValidateRequest="false" CodeFile="ChangePassword.aspx.cs" Inherits="<!--##=RepositoryManager.Instance.Repository.ProjectName##-->.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">

		/*<!--##
		codeGeneratorVariable_DisplayCode.Append(ChangePassword() + Environment.NewLine);
		##-->*/
</asp:Content>	
<!--##/session##-->
#endregion

#region <!--##session ChangePassword##-->
<!-- for keeping window in center -->
  <script language="javascript" type="text/javascript">
     function ResetControls()
     {
        document.getElementById("<%=txtConfirmPassword.ClientID%>").ResetValue();
        document.getElementById("<%=txtPassword.ClientID%>").ResetValue();
     }
    </script>

    <uasp:Frame runat="server" ID="editFrame" Title="<%$ resources:GeneralResource,Title_ChangePassword %>"
        Width="100%">
        <uasp:FrameHeader>
            <uasp:FCell>
                
            </uasp:FCell>
        </uasp:FrameHeader>
        <uasp:FRow>
            <uasp:FCell>
        
         <asp:ValidationSummary ID="vldrSummary" runat="server" HeaderText="" ShowSummary="False"
        ShowMessageBox="True" ForeColor="#FF0000" />
        <asp:Label ID="lblErrorMessage" runat="server" EnableViewState="false" Style="color: Red"></asp:Label>

        <table width="100%">
                    <tr>
                    <td rowspan="2" width="1">&nbsp;
                    </td>
                        <td>
                            <br />
        
                                    <uasp:FrameWindow ID="frameChangePassword"   runat="server">
                                <uasp:FRow>
                                    <uasp:WCell>
                                        <asp:Label ID="lblLogin"  runat="server" Text="<%$ resources:GeneralResource,Caption_LoginName %>"/>
                                    </uasp:WCell>
                                    <uasp:WCell><table width="160" cellpadding="0" cellspacing="0"><tr><td>
                                        <uasp:ASCXTextBox  ID="txtLogin" IsReadOnly="true" runat="server" Caption="<%$ resources:GeneralResource,Caption_LoginName %>" /></td></tr></table>
                                    </uasp:WCell>
                                </uasp:FRow>
                                <uasp:FRow>
                                    <uasp:WCell>
                                        <asp:Label ID="lblOldPassword"  runat="server" Text="<%$ resources:GeneralResource,Caption_OldPassword %>"/>
                                    </uasp:WCell>
                                    <uasp:WCell>
                                        <uasp:ASCXTextBox ID="txtOldPassword" runat="server" IsRequired="true" TextMode="Password" Caption="<%$ resources:GeneralResource,Caption_OldPassword %>"  />
                                    </uasp:WCell>
                                </uasp:FRow>
                                <uasp:FRow>
                                    <uasp:WCell>
                                            <asp:Label ID="lblPassword" runat="server"  Text="<%$ resources:GeneralResource,Caption_Password %>"/>
                                    </uasp:WCell>
                                    <uasp:WCell>
                                        <uasp:ASCXTextBox ID="txtPassword" runat="server" IsRequired="true" TextMode="Password" Caption="<%$ resources:GeneralResource,Caption_Password %>"  />
                                    </uasp:WCell>
                                </uasp:FRow>
                                <uasp:FRow>
                                    <uasp:WCell>
                                            <asp:Label  Width="150" ID="lblConfirmPassword" runat="server"  Text="<%$ resources:GeneralResource,Field_ConfirmPassword %>" />
                                    </uasp:WCell>
                                    <uasp:WCell>
                                    <table cellpadding="0" cellspacing="0"><tr><td>
                                        <uasp:ASCXTextBox ID="txtConfirmPassword" runat="server" IsRequired="true" TextMode="Password" Caption="<%$ resources:GeneralResource,Field_ConfirmPassword %>"  /></td><td>
                                        <uasp:AWCompareValidator Text="*" ID="AWCompareValidator1" runat = "server" SetFocusOnError="true" Display="Dynamic" ControlToCompare="txtPassword" ControlToValidate = "txtConfirmPassword" ErrorMessage = "<%$ resources:GeneralResource,Message_ConfirmPassword %>"></uasp:AWCompareValidator>
                                        </td></tr></table>    
                                    </uasp:WCell>
                                    
                                </uasp:FRow>
                            </uasp:FrameWindow>
 </td>
 </tr>
                    <tr>
                        <td >
                            <table width="270">
                                <tr>
                                    <td style="width: 135px">
                                                                   <uasp:ASCXButton ID="btnChangePassword" IsDefault="true" runat="server" Text="<%$ resources:GeneralResource,Caption_ChangePassword %>"
                                OnClick="btnChangePassword_Click" />
                                    </td>
                                    <td style="width: 100px">
                                        <uasp:ASCXButton ID="btnReset" runat="server" Text="<%$ resources:GeneralResource,Caption_Reset %>"
                                OnClientClick="ResetControls()" />
                                </td>
                                </tr>
                            </table>
                            <br />
                        </td>
                    </tr>
                </table>
            </uasp:FCell>
        </uasp:FRow>
    </uasp:Frame>
<!--##/session##-->
#endregion




